{
  "properties" : { },
  "id" : "d3604f589b0c48408a074b9802e7ba3f",
  "script" : null,
  "groupId" : "6ecba9cf8cce4bd0bb9cced584f044f5",
  "name" : "删除项",
  "createTime" : 1714063371462,
  "updateTime" : 1711901186013,
  "lock" : null,
  "createBy" : "管理员",
  "updateBy" : "管理员",
  "path" : "item/remove",
  "method" : "DELETE",
  "parameters" : [ {
    "name" : "id",
    "value" : null,
    "description" : null,
    "required" : false,
    "dataType" : "Integer",
    "type" : null,
    "defaultValue" : null,
    "validateType" : null,
    "error" : null,
    "expression" : null,
    "children" : null
  } ],
  "options" : [ ],
  "requestBody" : "",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : null,
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import com.gitee.fastmybatis.core.query.Query;
import 'com.wiwf.model.mapper.admin.dao.SysDictItemsMapper' as dictItemsMapper;

var dictItemId = id != null? id: body.id;

return dictItemsMapper.deleteById(dictItemId);